﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" ValidateRequest="false" 
AutoEventWireup="true" CodeFile="PersonInfoSrh.aspx.cs" Inherits="App_Master_PersonInfoSrh"  Title="会员信息查询"%>

<%@ Register Assembly="ShpmCommon" Namespace="Shpm.System.Web.Control" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
 <asp:Panel ID="PanelNavigate" runat="server" />
    <br />
            <table width="50%">
            <tr>
			    <td align="left">
			    <script language="javascript">
                                (new TitleBar('RegisterBar', '检索条件')).showBar();
                </script>
			    </td>						
		      </tr>
            </table>
        <table width="50%">
            <tr>
                <td>
            
                    <table class="table_border_line"  style="background:ffffff">
                        <!--<tr>
                            <td style="width: 5%"></td>
                            <td align="left" style="white-space: nowrap">人员类别</td>
                            <td align="left">
                                <select id="Select1" style="width: 66px; height: 22px">
                                    <option value=""></option>
                                    <option value="1">会员 </option>
                                    <option value="2">非会员</option>                                    
                                </select>
                            </td>
                            <td align="left"></td>
                            <td align="left"></td>
                            <td align="right"></td>
                        </tr>-->
                        <tr>
                            <td style="width: 50px; height: 26px;">&nbsp;</td>
                            <td style="width: 120px; white-space: nowrap; height: 26px;" class="list_data_bg_left">人员编号</td>
                            <td align="left" style="height: 26px; width: 176px;">
                                <asp:TextBox ID="personId" runat="server" ></asp:TextBox>
                            </td>
                            <td align="left" style="height: 26px"></td>
                            <td align="left" style="height: 26px"></td>
                            <td align="right" style="height: 26px">&nbsp;</td>
                        </tr>
                        <tr>
                            <td style="width: 50px">&nbsp;</td>
                            <td style="width: 120px; white-space: nowrap" class="list_data_bg_left">姓名</td>
                            <td align="left" style="width: 176px">
                                <asp:TextBox ID="nameC" runat="server" ></asp:TextBox>
                            </td>
                            <td align="left"></td>
                            <td align="left"></td>
                            <td align="right">&nbsp;</td>
                        </tr>
                       <!-- <tr>
                            <td style="width: 50px">&nbsp;</td>
                            <td style="width: 120px; white-space: nowrap" align="left">登记时间</td>
                            <td align="left">
                                <asp:TextBox ID="time" runat="server" ></asp:TextBox>~<asp:TextBox ID="TextBox3" runat="server" ></asp:TextBox>
                            </td>
                            <td align="left"></td>
                            <td align="left"></td>
                            <td align="right">&nbsp;</td>
                        </tr>-->
                        
                    </table>
                </td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td align="center" valign="bottom" style=" height:35px">&nbsp; &nbsp;
                    <input type="submit"  name="memberIn"  id="memberIn" value=" 会 员 登 记 " class="button" style="width: 90px" runat="server"  onserverclick="memberIn_Click"/>&nbsp;
                    <asp:Button  ID="search" text=" 检 索  "    CssClass="button" style="width: 90px" runat="server" OnClick="search_Click" />
                 </td>
           
           
            </tr>
        </table>
    <cc1:ComValidator ID="ComValidator1" runat="server" CheckItems-Capacity="4" Visible="False">
        <cc1:CheckLongAttribute Code="E0317" ControlToValidator="personId">
            <cc1:ComAbsParamsAttribute Parameter="人员编号" />
        </cc1:CheckLongAttribute>
    </cc1:ComValidator>

    
    <br />
    <div id="resultTable" runat="server">
     <table width="70%">
            <tr>
			    <td align="left">
			    <script language="javascript">
                                (new TitleBar('RegisterBar', '检索条件')).showBar();
                </script>
			    </td>						
		      </tr>
            </table>
        <table width="70%">
            
            <tr>
                <td >
    
                   
                    <asp:GridView ID="GridView1" runat="server" Width="100%"   OnRowCommand="GridView1_RowCommand"  AllowPaging="True" AutoGenerateColumns="False"   CssClass="GridView_table" OnPageIndexChanging="GridView1_PageIndexChanging">
                        <RowStyle BackColor="White" BorderColor="White" />
                        <SelectedRowStyle ForeColor="Black" />
                        <Columns>
                            <asp:BoundField HeaderText="人员编号" DataField="PersonId" ReadOnly="True" >
                                <HeaderStyle HorizontalAlign="Center" CssClass="GridView_head_grayblue" />
                                <ItemStyle CssClass="GridView_item_center" />
                                <ControlStyle BorderColor="Red" />
                            </asp:BoundField>
                            <asp:BoundField DataField="NAMEC" HeaderText="姓名" >
                                <ItemStyle CssClass="GridView_item_center" />
                                <HeaderStyle CssClass="GridView_head_grayblue" />
                            </asp:BoundField>
                            <asp:BoundField DataField="SexText" HeaderText="性别" >
                                <ItemStyle CssClass="GridView_item_center" />
                                <HeaderStyle CssClass="GridView_head_grayblue" />
                            </asp:BoundField>
                            
                           
                            <asp:CommandField ButtonType="Image" HeaderText="详细" SelectImageUrl="~/images/info.gif"
                                SelectText="详细" ShowSelectButton="True">
                                <HeaderStyle CssClass="GridView_head_grayblue" />
                                <ItemStyle CssClass="GridView_item_center" />
                            </asp:CommandField>
                            <asp:BoundField DataField="MFlg" HeaderText="ID" Visible="False" />
                        </Columns>
                        <PagerStyle HorizontalAlign="Right" />
                    </asp:GridView>
               
                   <!-- <table class="list_border_blue">
                        <tr>
                            <td style="width: 10%"  class="list_title_bg_grayblue_center">人员编号</td>
                            <td style="width: 10%"  class="list_title_bg_grayblue_center">姓名</td>
                            <td style="width: 15%"  class="list_title_bg_grayblue_center">性别</td>
                            <td style="width: 15%"  class="list_title_bg_grayblue_center">登记类型</td>
                            <td style="width: 20%"  class="list_title_bg_grayblue_center">登记时间</td>
                            <td style="width: 10%"  class="list_title_bg_grayblue_center">详细</td>
                            <td style="width: 66px"  class="list_title_bg_grayblue_center">会员登记</td>
                            <td style="width: 66px"  class="list_title_bg_grayblue_center">删除</td>
                        </tr>
                        <tr>
                            <td class="list_data_bg">A0001</td>
                            <td class="list_data_bg_left">张三</td>
                            <td class="list_data_bg_left">会员</td>
                            <td class="list_data_bg_left">男</td>
                            <td class="list_data_bg">2000/12/11</td>
                            <td class="list_data_bg"><a href="#">
                                <img src="../../images/info.gif" style="border: 0px" alt="详细信息" /></a>
                            </td>
                            <td class="list_data_bg" style="width: 66px"><a href="#">
                                <img src="../../images/info.gif" style="border: 0px" alt="会员登记" /></a>
                            </td>
                            <td class="list_data_bg" style="width: 66px"><a href="#">
                                <img src="../../images/info.gif" style="border: 0px" alt="删除" /></a>
                            </td>
                        </tr>
                        <tr>
                            <td class="list_data_bg" style="height: 20px">A0002</td>
                            <td class="list_data_bg_left" style="height: 20px">张三</td>
                            <td class="list_data_bg_left" style="height: 20px">会员</td>
                            <td class="list_data_bg_left" style="height: 20px">男</td>
                            <td class="list_data_bg" style="height: 20px">2000/12/11</td>
                            <td class="list_data_bg" style="height: 20px"><a href="#">
                                <img src="../../images/info.gif" style="border: 0px" alt="详细信息" /></a>
                            </td>
                            <td class="list_data_bg" style="width: 66px; height: 20px;"><a href="#">
                                <img src="../../images/info.gif" style="border: 0px" alt="会员登记" /></a>
                            </td>
                            <td class="list_data_bg" style="width: 66px; height: 20px"><a href="#">
                                <img src="../../images/info.gif" style="border: 0px" alt="删除" /></a>
                            </td>
                        </tr>
                       <tr>
                            <td class="list_data_bg">A0003</td>
                            <td class="list_data_bg_left">张三</td>
                            <td class="list_data_bg_left">会员</td>
                            <td class="list_data_bg_left">男</td>
                            <td class="list_data_bg">2000/12/11</td>
                            <td class="list_data_bg"><a href="#">
                                <img src="../../images/info.gif" style="border: 0px" alt="详细信息" /></a>
                            </td>
                            <td class="list_data_bg" style="width: 66px"><a href="#">
                                <img src="../../images/info.gif" style="border: 0px" alt="会员登记" /></a>
                            </td>
                            <td class="list_data_bg" style="width: 66px"><a href="#">
                                <img src="../../images/info.gif" style="border: 0px" alt="删除" /></a>
                            </td>
                        </tr>
                    </table>-->
                    
                </td>
            </tr>
            
        </table>
    </div>
   
      
    
 

</asp:Content>